//
//  OMTBase64.h
//  OMTCoreKit
//
//  Created by 昭荣伊 on 2018/7/30.
//

#import <Foundation/Foundation.h>

@interface NSData (Base64)

+ (NSData *)omt_dataWithBase64EncodedString:(NSString *)string;
- (NSString *)omt_base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth;
- (NSString *)omt_base64EncodedString;

@end

@interface NSString (Base64)

+ (NSString *)omt_stringWithBase64EncodedString:(NSString *)string;
- (NSString *)omt_base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth;
- (NSString *)omt_base64EncodedString;
- (NSString *)omt_base64DecodedString;
- (NSData *)omt_base64DecodedData;

@end
